package com.kettle.model.quartz;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 返回结果信息
 * @author king
 *
 */
@Data
@ApiModel(value = "定时任务返回详情",description="定时任务返回详情")
public class ReturnResult implements Serializable{

	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="返回码值",example = "1")
	private String code;//返回码值
	
	@ApiModelProperty(value="是否返回成功",example = "true")
	private boolean success;//是否成功
	
	@ApiModelProperty(value="提示信息",example = "提示信息")
	private String msg;//提示信息
	
	public static ReturnResult newInstance() {
        return new ReturnResult();
 }
}
